<%@page contentType="text/html; charset=UTF-8" session="false" %>
<%@include  file="/WEB-INF/jspf/import.jspf"%>
    <div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" id="pagerForm" name="searchForm" method="get">
        <input type="hidden" name="pageNum" value="${pager.pageNo}" />
        <input type="hidden" name="pageSize" value="${pager.pageSize}" />
            <div class="searchBar">
                <table class="searchContent">
                    <tbody>
                    <tr>
                      <td><label>等级名称：</label><input type="text" name="name" value="${param.name}" class="textInput"></td>
                    </tr>
                    </tbody>
                </table>
                <div class="subBar">
                    <ul>
                        <li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
                    </ul>
                </div>
            </div>
        </form>
    </div>
    <div class="pageContent">
        <table class="table" style="width: 100%" layoutH="112">
            <thead>
                <tr>
                    <!-- th width="2%"><input type="checkbox" class="checkboxCtrl" group="ids"></th -->
                    <th >id</th>
                    <th >等级名称</th>
                    <th >积分（油值）要求</th>
                    <th >认证数要求</th>
                    <th width="6%">操作</th>
                </tr>
            </thead>
            <tbody>
                <c:forEach var="e" items="${pager.resultList}">
                    <tr>
                        <!-- td><input type="checkbox" name="ids" value="${e.levelId}"/></td -->
                        <td>${e.levelId}</td>
                        <td>${e.levelName}</td>
                        <td>${e.levelPetrol}</td>
                        <td>${e.levelMember}</td>
                        <td>
                        <a class="btnEdit" href="${ROOT}/admin/level/detail.do?levelId=${e.levelId}"
                         target="navTab" rel="level-detail" title="修改等级信息">修改等级信息</a>
                        </td>
                    </tr>
                </c:forEach>
            </tbody>
        </table>
    </div>
    <div class="panelBar">
        <div class="pages">
            <span>共 ${pager.total} 条</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="${pager.total}" numPerPage="${pager.pageSize}" pageNumShown="10" currentPage="${pager.pageNo}"></div>
    </div>